﻿using Microsoft.EntityFrameworkCore;
using MyAppAPI.Models;
using MyAppAPI.Models.Hotel;
using MyAppAPI.Models.UserInfoModel;

namespace MyAppAPI.Context
{
    public class UserContext: DbContext
    {
        public UserContext(DbContextOptions<UserContext> options) : base(options)
        {
            
        }

        public DbSet<User> User { get; set; }
        public DbSet<UserMenu> UserMenu { get; set; }
        public DbSet<Menu> Menu { get; set; }
        public DbSet<UserInfo> UserInfo { get; set; }
        public DbSet<RoleData> RoleDatas { get; set; }
        public DbSet<UserData> UserDatas { get; set; }
        public DbSet<RoomTypeData> RoomTypeDatas { get; set; }
        public DbSet<RoomData> roomDatas { get; set; }
        public DbSet<RoomStateData> roomStateDatas { get; set; }
        public DbSet<GuestData> guestDatas { get; set; }
        public DbSet<ResideState> resideStates { get; set; }
    }
}
